package com.zhu.service;

import com.zhu.pojo.entity.Result;
import com.zhu.pojo.entity.User;

public interface UserService {
    User findByUserName(String username);

    Boolean register(String username, String password);

    User login(String username, String password);

    void update(User user);

    void updateAvatar(String avatarUrl);

    void updatePwd(String pwd);
}
